import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

public class Environment {

	public List<Channel> channels;
	
	public List<Channel> interferingChannels;
	
	public int numberOfInterferences;

	public static final int MAXIMUM_ALLOWED_CONNECTIONS = 4;
	
	public int channelUsage;

	public Environment(int numberOfChannels) {
		channels = new ArrayList<Channel>();
		for (int i = 0; i < numberOfChannels; i++) {
			channels.add(new Channel("Channel " + (i + 1)));
		}
		channelUsage = 0;
		interferingChannels = new ArrayList<Channel>();
	}

	public void increaseChannelUsage() {
		channelUsage++;
	}

	public void decreaseChannelUsage() {
		channelUsage--;
	}

}
